package com.hzya.frame.system.user.dao.impl;

import com.hzya.frame.system.user.dao.IUserFavoriteDao;
import com.hzya.frame.system.user.entity.UserEntity;
import com.hzya.frame.system.user.entity.UserFavoriteModel;
import com.hzya.frame.utils.core.dao.MybatisGenericDao;
import org.springframework.stereotype.Repository;


/**
 * @description:用户自定义菜单:Favorite Dao
 * @author: wxl
 * @history:
 */
@Repository("system_user_favoriteDao")
public class UserFavoriteDaoImpl extends MybatisGenericDao<UserFavoriteModel, Long> implements IUserFavoriteDao {
	@Override
	public int removeByUser(UserEntity bean) {
		return super.remove("UserFavoriteDomain_removeBySystemUser", bean);
	}
}
